package 工厂模式;

/**
 * @program: leetcode
 * @description:
 * @author: HuRan QQ1345122890
 * @create: 2021-11-07 13:15
 */
public class IDCard extends Product {
    private String owner;

    public IDCard(String owner) {
        System.out.println("制作" + owner + " 的ID卡");
        this.owner =




























































































                owner;
    }


    @Override
    void use() {
        System.out.println("使用" + owner + " 的ID卡");
    }

    public String getOwner() {
        return owner;
    }
}